package com.xxx.mch.service;

import com.xxx.mch.domain.dto.DepartmentScoreStatisticsDto;
import com.xxx.mch.domain.dto.PersonScoreDto;
import com.xxx.mch.domain.po.TotalScore;
import com.xxx.mch.domain.request.DeltaUpdateRequest;
import com.xxx.mch.domain.request.QueryScoreRequest;
import java.math.BigDecimal;

import java.util.List;

/**
 * @author FengHaixin
 * @description 一句话描述该文件的用途
 * @date 2020/3/3
 */
public interface TotalScoreService
{
    void calculateTotalScore(TotalScore totalScore);


    List<DepartmentScoreStatisticsDto> departmentScoreStatistics(String month);


    void calculateAward(String lastMonth, Integer type);


    PersonScoreDto queryTotalScore(QueryScoreRequest queryScoreRequest);


    TotalScore queryTotalScore(String uid, String month);


    void updateTotalScore(TotalScore totalScore);


    boolean isConfirm(String month);


    void confirm(String month);


    BigDecimal queryAccumulativePoints(String uid);


    void deltaUpdate(DeltaUpdateRequest request);
}
